Inversive distance